/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2023-12-13 17:36:38
 *        Description: 暂无
 ***********************************************************************/

using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 司机表
    /// </summary>
    public partial class corecmsdriver
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public corecmsdriver()
        {
        }
		
        /// <summary>
        /// 主键
        /// </summary>
        [Display(Name = "主键")]
		
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.Int32 id  { get; set; }
        
		
        /// <summary>
        /// 名字
        /// </summary>
        [Display(Name = "名字")]
		
        
        
        [StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String name  { get; set; }
        
		
        /// <summary>
        /// 手机号
        /// </summary>
        [Display(Name = "手机号")]
		
        
        
        [StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")]
        
        public System.String mobile  { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        [Display(Name = "用户Id")]
        public System.Int32? userId { get; set; }


        /// <summary>
        /// 是否激活
        /// </summary>
        [Display(Name = "是否激活")]
		
        
        
        
        
        public System.Boolean? active  { get; set; }
        
		
        /// <summary>
        /// 注册时间
        /// </summary>
        [Display(Name = "注册时间")]
		
        [Required(ErrorMessage = "请输入{0}")]
        
        
        
        public System.DateTime createTime  { get; set; }
        
		
        /// <summary>
        /// 修改时间
        /// </summary>
        [Display(Name = "修改时间")]
		
        
        
        
        
        public System.DateTime? updateTime  { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string userName { get; set; }



    }
}
